package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 精益运营-运营数据-骑行订单
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_operator_data_order")
@ApiModel(value = "ErpOperatorDataOrder对象", description = "精益运营-运营数据-骑行订单")
public class ErpOperatorDataOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("城市ID")
    private Integer cityId;

    @ApiModelProperty("品牌ID")
    private Integer brandId;

    @ApiModelProperty("车辆编码")
    private String bikeNo;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty("骑行开始时间")
    private Date startTime;

    @ApiModelProperty("骑行结束时间")
    private Date endTime;

    @ApiModelProperty("骑行距离")
    private Integer distance;

    @ApiModelProperty("订单金额")
    private BigDecimal orderMoney;

    @ApiModelProperty("优惠金额")
    private BigDecimal couponMoney;

    @ApiModelProperty("实付金额")
    private BigDecimal payMoney;

    @ApiModelProperty("借出站点")
    private String startStation;

    @ApiModelProperty("还车站点")
    private String endStation;

    @ApiModelProperty("创建人")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
